<?php
	defined('GIRIS_KARTI') or die( 'Restricted access' );
	if (!@$_SESSION['giris']) {
?>
<form action="index.php" method="post">
<div class="menu" id="girisformu">
  <table width="100%" border="0">
    <tr>
      <td>Kullanıcı Adı</td>
    </tr>
    <tr>
      <td><label for="kullanici_adi"></label>
      <input type="text" name="kullanici_adi" id="kullanici_adi" /></td>
    </tr>
    <tr>
      <td>Şifre</td>
    </tr>
    <tr>
      <td><label for="sifre"></label>
      <input type="password" name="sifre" id="sifre" /></td>
    </tr>
    <tr>
      <td><p>
        <input type="submit" name="gonder" id="gonder" value="Gönder" />
        <input name="bil" type="hidden" id="bil" value="uyelik" />
        <input name="ist" type="hidden" id="ist" value="giris" />
      </p></td>
    </tr>
  </table>
</div>
</form>
<p>
  <?php //giriş formu sonu
	}else{
?>
  Hoş geldiniz</p>
<p><a href="index.php?bil=uyelik&amp;ist=cikis">Çıkış</a></p>
<?php 
	}?>
